package day1128_3;

import java.util.Arrays;

public class T2 {
    public static void main(String[] args) {
        int[]  a={8,3,5,1,9,7,2};
        for(int i=0;i<3; i++){
            int t=a[i];
            a[i]=a[7-1-i];
            a[7-1-i]=t;
        }
        System.out.println(Arrays.toString(a));
    }
}
